package com.apex.system.mapper;

import com.apex.system.dto.SysUserDto;
import com.apex.system.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    @Select("select * from sys_user")
    Page<SysUserDto> selectAll(Page<SysUserDto> page);
}
